package cate.game.role.pvp.throne;


import cate.common.table.d.GDThrone;
import cate.game.pvp.throne.data.ko.TBKoCurBet;
import cate.game.role.RoleSimpleBase;
import easy.java.dev.note.NoteClass;
import easy.java.dev.note.NoteField;

@NoteClass("王座争霸-单条竞猜记录")
public class TBBetRecord {

    @NoteField("轮次")
    public int round;

    @NoteField("竞猜的队伍")
    public byte betTeam;

    @NoteField("竞猜的金额")
    public double betCoin;

    @NoteField("a方简要信息")
    public RoleSimpleBase a;

    @NoteField("b方简要信息")
    public RoleSimpleBase b;

    @NoteField(value = "胜利方",detail = "如果没有说明还未结算")
    public byte winner;

    @NoteField("获得的奖励积分")
    public long rwdPoint;


    public TBBetRecord() {
    }

    public TBBetRecord(TBKoCurBet curBet,byte betTeam) {
        this.round = curBet.round;
        this.betTeam = betTeam;
        this.betCoin = GDThrone.BET_COIN;
        this.a = curBet.a.snapshot.base.copy();
        this.b = curBet.b.snapshot.base.copy();
    }
}
